package com.demo.inheritance.birds;

import com.demo.inheritance.LivingBeings;

public class Bird extends LivingBeings {

	private int wings;

	public Bird(int legs, int wings) {
		super(legs);
		this.wings = wings;

	}
	
	@Override
	public void fly() {
		System.out.println("Yes I can fly...");		
	}
	
	public void display(){
		
	}

	

}
